home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
UTILITY
/
DO1002.ARJ
/
RENAME.SCR
< prev
next >
Wrap
Text File
|
1991-12-03
|
975b
|
23 lines
.pg wi full clr cy
COMMAND NAME»gray«: »%t« RenameFile »ye«
/RENAME {Filename} {NewName} [N]
/cw
This command is the equivalent of the DOS »cy«REName»#« command.
Both the old file name »cy«{Filename}»#« and the new file name
»cy«{NewName}»#« are expanded if any variables are found.
»ma«NOTE»gray«: »#«If »cy«{Filename}»#« and »cy«{NewName}»#« are in different sub-
directories on the same disk, this command will move the
file to the »cy«{NewName}»#« sub-directory. If the »cy«{NewName}»#« is on
a different disk, an error will occur.
.pg clr
If the file is successfully renamed, »%t«DO»#« branches to the
"»ye«:RENAMEOK»#«" label. After an unsuccessful execution, »%t«DO»#«
branches to "»ye«:RENAMEERROR»#«".
If the "»ye«N»#«" token is included, the command will »+re«NOT»#« branch to the
labels, but will continue on the next line of the script regardless
of the outcome.
/ENDEXEC CLEAR